package de.gameduell.framework.modules.event
{
	import flash.events.Event;

	/**
	 * inform managers about active player index change.
	 **/
	public class ActivePlayerChangeEvent extends Event {
		
		public static const ACTIVE_PLAYER_CHANGED:String = "activePlayerChanged";
		
		public var oldPlayerIndex:int;
		public var newPlayerIndex:int;
		
		public function ActivePlayerChangeEvent(oldPlayerIndex:int, newPlayerIndex:int) {
			super(ACTIVE_PLAYER_CHANGED, false, false);
			this.oldPlayerIndex = oldPlayerIndex;
			this.newPlayerIndex = newPlayerIndex;
		}
		
	}
}